package com.jixiang.tracedata.model.traveller;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

import java.io.Serializable;
import java.util.List;

/**
 * @author quanbiao
 * @date 2018-08-31
 */
@XStreamAlias("TicketInfo")
public class TicketInfo implements Serializable {

    private static final long serialVersionUID = -4981471344444274541L;

    @XStreamAsAttribute()
    private String TicketNumber;

    @XStreamAsAttribute()
    private String IssueOffice;

    @XStreamAsAttribute()
    private String IataCode;

    @XStreamAsAttribute()
    private String IssueDate;

    @XStreamAsAttribute()
    private String IssueTime;

    @XStreamAsAttribute()
    private String PriorTicket;

    @XStreamAsAttribute()
    private String NextTicket;

    @XStreamAsAttribute()
    private String TicketSource;

    @XStreamAsAttribute()
    private String TicketType;

    @XStreamAsAttribute()
    private String TourCode;

    @XStreamAsAttribute()
    private String FormOfPayment;

    @XStreamAsAttribute()
    private String GP;

    @XStreamAlias("FareGroup")
    private FareGroup FareGroup;

    @XStreamImplicit(itemFieldName="Endorsement")
    private List<String> EndorsementList;

    @XStreamAlias("OriginalTicket")
    private OriginalTicket OriginalTicket;

    @XStreamImplicit(itemFieldName="FareCalculation")
    private List<String> FareCalculationList;


    public String getTicketNumber() {
        return TicketNumber;
    }

    public void setTicketNumber(String ticketNumber) {
        TicketNumber = ticketNumber;
    }

    public String getIssueOffice() {
        return IssueOffice;
    }

    public void setIssueOffice(String issueOffice) {
        IssueOffice = issueOffice;
    }

    public String getIataCode() {
        return IataCode;
    }

    public void setIataCode(String iataCode) {
        IataCode = iataCode;
    }

    public String getIssueDate() {
        return IssueDate;
    }

    public void setIssueDate(String issueDate) {
        IssueDate = issueDate;
    }

    public String getIssueTime() {
        return IssueTime;
    }

    public void setIssueTime(String issueTime) {
        IssueTime = issueTime;
    }

    public String getPriorTicket() {
        return PriorTicket;
    }

    public void setPriorTicket(String priorTicket) {
        PriorTicket = priorTicket;
    }

    public String getNextTicket() {
        return NextTicket;
    }

    public void setNextTicket(String nextTicket) {
        NextTicket = nextTicket;
    }

    public String getTicketSource() {
        return TicketSource;
    }

    public void setTicketSource(String ticketSource) {
        TicketSource = ticketSource;
    }

    public String getTicketType() {
        return TicketType;
    }

    public void setTicketType(String ticketType) {
        TicketType = ticketType;
    }

    public String getTourCode() {
        return TourCode;
    }

    public void setTourCode(String tourCode) {
        TourCode = tourCode;
    }

    public String getFormOfPayment() {
        return FormOfPayment;
    }

    public void setFormOfPayment(String formOfPayment) {
        FormOfPayment = formOfPayment;
    }

    public String getGP() {
        return GP;
    }

    public void setGP(String GP) {
        this.GP = GP;
    }

    public com.jixiang.tracedata.model.traveller.FareGroup getFareGroup() {
        return FareGroup;
    }

    public void setFareGroup(com.jixiang.tracedata.model.traveller.FareGroup fareGroup) {
        FareGroup = fareGroup;
    }

    public List<String> getEndorsementList() {
        return EndorsementList;
    }

    public void setEndorsementList(List<String> endorsementList) {
        EndorsementList = endorsementList;
    }

    public com.jixiang.tracedata.model.traveller.OriginalTicket getOriginalTicket() {
        return OriginalTicket;
    }

    public void setOriginalTicket(com.jixiang.tracedata.model.traveller.OriginalTicket originalTicket) {
        OriginalTicket = originalTicket;
    }

    public List<String> getFareCalculationList() {
        return FareCalculationList;
    }

    public void setFareCalculationList(List<String> fareCalculationList) {
        FareCalculationList = fareCalculationList;
    }
}
